
public class five {
    public static void main(String[] args) {

        char[] num = { ' ','0', '1','2', '3','4', '5','6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};


        for (int i=0;i<num.length;i++){
            System.out.print(num[i]+" ");
            for (int j=0;j<num.length-1;j++){
                if (i==0){
                    System.out.print(num[j+1]+" ");
                } else {
                    System.out.print("+ ");
                }
            }
            System.out.println();
        }
    }
}
